<?php

namespace Portal\InvoiceBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TutorEducation
 *
 * @ORM\Table(name="tutor_education")
 * @ORM\Entity
 */
class TutorEducation
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var integer
     *
     * @ORM\Column(name="tutor_id", type="integer", nullable=false)
     */
    private $tutorId;

    /**
     * @var string
     *
     * @ORM\Column(name="school_name", type="string", length=1024, nullable=false)
     */
    private $schoolName;

    /**
     * @var integer
     *
     * @ORM\Column(name="graduated_year", type="integer", nullable=false)
     */
    private $graduatedYear;

    /**
     * @var \EducationLevel
     *
     * @ORM\ManyToOne(targetEntity="EducationLevel")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="education_level_id", referencedColumnName="id")
     * })
     */
    private $educationLevel;



    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set tutorId
     *
     * @param integer $tutorId
     * @return TutorEducation
     */
    public function setTutorId($tutorId)
    {
        $this->tutorId = $tutorId;
    
        return $this;
    }

    /**
     * Get tutorId
     *
     * @return integer 
     */
    public function getTutorId()
    {
        return $this->tutorId;
    }

    /**
     * Set schoolName
     *
     * @param string $schoolName
     * @return TutorEducation
     */
    public function setSchoolName($schoolName)
    {
        $this->schoolName = $schoolName;
    
        return $this;
    }

    /**
     * Get schoolName
     *
     * @return string 
     */
    public function getSchoolName()
    {
        return $this->schoolName;
    }

    /**
     * Set graduatedYear
     *
     * @param integer $graduatedYear
     * @return TutorEducation
     */
    public function setGraduatedYear($graduatedYear)
    {
        $this->graduatedYear = $graduatedYear;
    
        return $this;
    }

    /**
     * Get graduatedYear
     *
     * @return integer 
     */
    public function getGraduatedYear()
    {
        return $this->graduatedYear;
    }

    /**
     * Set educationLevel
     *
     * @param \Portal\InvoiceBundle\Entity\EducationLevel $educationLevel
     * @return TutorEducation
     */
    public function setEducationLevel(\Portal\InvoiceBundle\Entity\EducationLevel $educationLevel = null)
    {
        $this->educationLevel = $educationLevel;
    
        return $this;
    }

    /**
     * Get educationLevel
     *
     * @return \Portal\InvoiceBundle\Entity\EducationLevel 
     */
    public function getEducationLevel()
    {
        return $this->educationLevel;
    }
}